<template>
  <div>
    <h2>news index page</h2>
    <p>NewsId:{{$route.params.newsId}}</p>
    <ul>
      <li><a href="/">HOME</a></li>
      <li><nuxt-link :to="{name:'news-id',params:{id:123,title:'jspang.com'}}">News-1</nuxt-link></li>
      <li><nuxt-link :to="{name:'news-id',params:{id:456}}">News-2</nuxt-link></li>
    </ul>
  </div>
</template>

<script>
    export default {
        name: "index",
        transition:'test'
    }
</script>

<style scoped>

</style>
